﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Rüdiger_Baustein4
{
    class cOder : cBaustein
    {
        public cOder(int IAnzEin, string StrName)
            : base(IAnzEin, StrName/*+=" UND-Baustein"*/)
        {

            strName = "Oder-Baustein " + strName;

        }
        internal void calc()
        {
            bAus = false;
            for (int i = 0; i < iAnzEin; i = i + 1)
            {
                if (bEingaenge[i] == true)
                {
                    bAus = true;
                    break;
                }
            }
        }
    }
}
